css not first child

39

div ul:not(:first-child){
    background-color: #900;
}
div ul:nth-child(n+2) {
    background-color: #900;
}

Comments

Submit
0 Comments